<template>
  <div>
    <router-view></router-view>
    <van-tabbar v-model="active">
      <van-tabbar-item replace icon="wap-home" to="/homepage"
        >首页</van-tabbar-item
      >
      <van-tabbar-item replace icon="search" to="/lookingroom"
        >找房</van-tabbar-item
      >
      <van-tabbar-item replace icon="friends" to="/information"
        >资讯</van-tabbar-item
      >
      <van-tabbar-item replace icon="manager" to="/user">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: 'layout-page',
  data() {
    return {
      active: ''
    }
  },
  methods: {}
}
</script>

<style scoped lang="less">
.van-tabbar-item--active {
  color: #21b97a;
}
</style>
